header {
  height: 82px;
}

.main-nav {
  height: 82px;
}

.main-nav > div {
  width: 1240px;
  height: 82px;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.subnav {
  max-height: 0;
  height: 182px;
  background-color: #ffffff;
  overflow: hidden;
}

.subnav-show,
.subnav:hover {
  max-height: 999px;
  transition: max-height 1s ease;
}

.logo {
  flex-basis: 125px;
  height: 82px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meizu-header-logo-img {
  width: 125px;
}

#Logo {
  width: 100%;
  height: 100%;
}

.links {
  height: 82px;
  display: flex;
}

.links-item {
  padding: 31px 20px 30px;
  color: #ffffff;
  transition: color 0.1s linear;
}

.links-item--show {
  color: #515151;
}

.links-item:hover {
  color: #00b9f2;
}

app-search {
  flex-basis: 170px;
  height: 82px;
  display: flex;
  align-items: center;
}

.user {
  flex-basis: 37px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart {
  flex-basis: 29px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meizu-header-user-img {
  width: 20px;
  height: 20px;
}

.meizu-header-cart {
  width: 20px;
  height: 20px;
}

.subnav-item {
  justify-content: center;
}

.subnav-item .link {
  width: 160px;
  height: 156px;
  padding-top: 10px;
}

.subnav-item .link img,
.subnav-item .link span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  margin: auto;
  text-align: center;
  color: #333333;
}
